home *** CD-ROM | disk | FTP | other *** search
/ BUG 3 / BUGCD1997_03.ISO / mac / Aplikacije / Internet / HTML Voc 1.71 / HTML Vocabulary 1.7.1 / HTML Vocabulary 1.7.1.rsrc / TEXT_1700_Pictures and objects.txt < prev    next >
Text File  |  1997-01-12  |  6KB  |  101 lines

  1.  
  2. Pictures    
  3.  
  4. <IMG SRC="url" [...]>
  5. Use it to insert pictures inside the pages. The following tags can be used after IMG:
  6.  
  7. SRC="url"
  8. The path or destination to the picture file. Can be the whole url or just the filename, if the file is located in the same folder as the rest of the page.
  9.  
  10. [ALT="text"]
  11. Use it to display text if the picture, by some reason, can't be loaded. This happens if the filepath is wrong, if the user stops the loading or the browser can't show pictures.
  12.  
  13. [LOWSRC="url"]
  14. Use it to display a preview of the picture, for example a black and white picture. The LOWSRC picture loads first, while the SRC picture won't load until the page is done.
  15.  
  16. [HEIGHT=n|n%]
  17. Changes the height of the picture in dots or percent.
  18.  
  19. [WIDTH=n|n%]
  20. Changes the width of the picture in dots or percent.
  21.  
  22. [ISMAP]
  23. Define that the picture is a imagemap, which means that it use the picture as links, defined where on the picture the user clicks. Please read the Maps chapter for more.
  24.  
  25. [USEMAP=#anchor]
  26. Defines that the picture is a Cliet Side map. These maps is stored within a document. If the map is stored in the same document as the IMG tag, url is not needed. anchor is the name of the map, see the 'Maps' chapter for more. USEMAP can be used together with ISMAP. If the browser doesn't supports USEMAP maps, ISMAP will be used instead.
  27.  
  28. [BORDER=n]
  29. Define the width of the border around the picture in dots. The picture will get a colorized border if it is a link.
  30.  
  31. [VSPACE=n]
  32. Define the vertical space to the text next to the picture.
  33.  
  34. [HSPACE=n]
  35. Define the horizontal space to the text next to the picture.
  36.  
  37. [ALIGN=LEFT|RIGHT|TOP|TEXTTOP|MIDDLE|ABSMIDDLE|BASELINE|BOTTOM|ABSBOTTOM]
  38. Align the picture on the page. Left and right aligns the picture to the left resp. right side of the page. TOP puts the top side of the picture in the same height as the highest thing on the line. TEXTTOP does the same with the highest character on the line. MIDDLE aligns the picture to the center of the baseline of the textline, while ABSMIDDLE aligns it to the center of the middleline of the text.BASELINE and BOTTOM put the bottom line of the pictures on the same height as the baseline of the textline. ABSBOTTOM put it on the same height as the bottom thing on the text line, e.g. in characters like g, j etc.
  39.  
  40. [DYNSRC=url]
  41. Stands for 'Dynamic source' and defines the url to a sound or VRML file. If the browser doesn't support dynamic IMG's, the normal SRC will be used. A sound must be in the format .au, .wav eller .mid. VRML (Virtual Modelling Language) is a 3D standard for WWW pages. DYNSRC is an Internet Explorer extension.
  42.  
  43. [CONTROLS]
  44. Defines if a DYNSRC object should display controls or not.
  45.  
  46. [LOOP=n|INFINITE]
  47. Defines the number of lopps for a DYNSRC object. INFINITE starts over until the page is closed.
  48.  
  49. [START=FILEOPEN, MOUSEOVER]
  50. Defines when the DYNSRC object will start. Both parameters can be used, or just a single.
  51.  
  52. Picture formats    
  53.  
  54. The picture should be either in the gif or jpeg formats. Other file formats requires a special helper application or plugin for the reader, and isn't recomended. The gif format is devloped by Compuserve, and allows transparency pictures, interlacted pictures (where it is displayed while it loads) and can be used as webmaps (please read the Maps chapter). Jpeg (Joint Photographers Expert Group) compresses the picture to be smaller than a gif file, without making any big changes to the quality. Netscape 2.x and Internet Explorer can read "progressive JPEG", which has the same features as the gif format, but is not a standard.
  55.  
  56. By using something called animated gifs, small animations can be used in the page. This feature requires no plugins, and is supported in both Netscape (2.x) and Explorer. But it can be very slow to load the page, don't use it too much.
  57.  
  58. Spacer    
  59.  
  60. <SPACER TYPE=horizontal|vertical|block [SIZE=n] [...]>
  61. TYPE is the type of space. Use horizontal to insert an empty space on the single line, vertical to insert space between paragrapgs (for example) and block as an empty picture. clock is two-dimensional, while the others are one-dimensional. SIZE is the height or width, not used with blocks. When using blocks, the HEIGHT, WIDTH and ALIGN properties can be used, in the same way as in the IMG tag. This is a Netscape 3.x tag.
  62.  
  63. Floating frames    
  64.  
  65. Floating Frames is an Explorer extension. A floating frames works like a picture and can be placed anywhere in the page. See also the "Body & head tags" chapter for standard frames.
  66.  
  67. <IFRAME [...]><FRAME [...]></IFRAME>
  68. Start and end tags for the floating frame. Since Microsoft changed the way to use the tag in the beta releases of Explorer, both the IFRAME and FRAME tags should be used.
  69.  
  70. NAME="text"
  71. NAME is the name of the frame, for example used in the TARGET parameteres to refer to the specified frame.
  72.  
  73. SRC=url
  74. The url to the page which should be placed within the tag.
  75.  
  76. WIDTH=n
  77. Defines the width of the frame.
  78.  
  79. HEIGHT=n
  80. Defines the height of the frame
  81.  
  82. [SCROLLING=yes|no|auto]
  83. Defines if the frame should have scrollbars. If auto is used, scrollbars will be used if they are needed.
  84.  
  85. [HSPACE=n] [VSPACE=n]
  86. Sets the horizontal and vertical space in the same way as the IMG tag.
  87.  
  88. [ALIGN=LEFT|RIGHT|TOP|TEXTTOP|MIDDLE|ABSMIDDLE|BASELINE|BOTTOM|ABSBOTTOM]
  89. The same properties as the IMG tag..
  90.  
  91. [FRAMEBORDER=yes|no] [BORDER=n] [BORDERCOLOR=color]
  92. The same properties as in the FRAMESET tag.
  93.  
  94. Embedded objects    
  95.  
  96. <EMBED SRC="url" [WIDTH=n] |HEIGHT=n] [...]>
  97. This tag is used to include objects that requires a plug-in. For example, a QuickTime movie, a MIDI music sequence etc. You may need different parameters depending on which type of object you may use, but WIDTH and HEIGHT can be used most of the times. In the Read me-files for the plug-in, you can learn about how to include the plug-in in the HTML source. EMBED, and plug-ins, are Netscape tags, but supported in both Explorer and Cyberdog.
  98.  
  99. <NOEMBED>
  100. If the  browser doesn't support the plug-in, text within the <NOEMBED> tag will be displayed, usually as a link. Often used after a EMBED tag, <NOEMBED><A HREF=...>text</A></NOEMBED> As you can see, it must end with </NOEMBED>.
  101.